import Mock from "mockjs";

// // 用户信息
// Mock.mock(/^\/app\/common\/user\/info/, "get", () => {
// 	return {
// 		code: 200,
// 		data: {
// 			avatar: "",
// 			id: 20184,
// 			ip: "127.0.0.1",
// 			nickName: "新用户6132",
// 			phone: "17565456132",
// 			sex: 0,
// 			status: 1,
// 		},
// 	};
// });

// 荒料列表
Mock.mock(/^\/app\/stone\/list/, "get", () => {
    return {
        code: 200,
        data: {
            page: 1,
            size: 8,
            totalPages: 1,
            list: [
                {
                    id: 1,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉1',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 2,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉2',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 3,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉3',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 4,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉4',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 5,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉5',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 6,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉6',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 7,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉7',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                },
                {
                    id: 8,
                    no: 'ZFSE35364/SN-787',
                    name: '蜘蛛玉8',
                    util: '1230.0*2330.0*2348.0',
                    area: '2.234m³'
                }
            ]
        }
    }
})